<?php
/**
 * @param mixed $value value that should be checked
 * @param mixed $default default-value if the passed variable does not exist
 */
function gv (&$value, $default = null)
{
	return (isset($value) ? $value : $default);
}
?>